package com.hducms.core.entity;

import java.io.Serializable;


/**
 * 配置表
 *  table="jo_config"
 */

public class Config  implements Serializable {

	private static final long serialVersionUID = -6385929184471516504L;
	public static String REF = "Config";
	public static String PROP_VALUE = "value";
	public static String PROP_ID = "id";
	public static String LOGIN_ERROR_INTERVAL = "login_error_interval";
	public static String LOGIN_ERROR_TIMES = "login_error_times";

	// primary key
	private java.lang.String id;

	// fields
	private java.lang.String value;

	
	
	public Config() {
	}

	public Config(String id, String value) {
		this.id = id;
		this.value = value;
	}

	public Config(String id) {
		this.id = id ;
	}

	/**
	 * Return the unique identifier of this class
     *  column="cfg_key"
     */
	public java.lang.String getId () {
		return id;
	}

	/**
	 * Set the unique identifier of this class
	 * @param id the new ID
	 */
	public void setId (java.lang.String id) {
		this.id = id;
	}


	/**
	 * Return the value associated with the column: cfg_value
	 */
	public java.lang.String getValue () {
		return value;
	}

	/**
	 * Set the value related to the column: cfg_value
	 * @param value the cfg_value value
	 */
	public void setValue (java.lang.String value) {
		this.value = value;
	}
	
	
	

}